import React from 'react'
module.exports = {
  path: 'recommend',
  name:'推荐',
  indexRoute: { onEnter: (nextState, replace) => replace('/home/recommend/company') },

  getComponent(nextState, cb) {
    require.ensure([],()=>{
      cb(null,require('./components/recommend'))
    })
  },

  getChildRoutes(location, cb){
    cb(null, [
      require('./routes/company'),
      require('./routes/job')
    ]);
  }
};
